
package com.fis.mca.persistence;


import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for mcaCommandParam complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="mcaCommandParam">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="mcaMapParams" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="mcaSmsCommand" type="{http://mapparam.mca.fis.com/}mcaSmsCommand" minOccurs="0"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="paramId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mcaCommandParam", propOrder = { "description", "mcaMapParams",
		"mcaSmsCommand", "name", "paramId", "status", "type" })
public class McaCommandParam
{
	
	protected String description;
	@XmlElement(nillable = true)
	protected List<Object> mcaMapParams;
	protected McaSmsCommand mcaSmsCommand;
	protected String name;
	protected long paramId;
	protected String status;
	protected String type;
	
	/**
	 * Gets the value of the description property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getDescription()
	{
		return description;
	}
	
	/**
	 * Sets the value of the description property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setDescription(String value)
	{
		this.description = value;
	}
	
	/**
	 * Gets the value of the mcaMapParams property.
	 * 
	 * <p>
	 * This accessor method returns a reference to the live list, not a
	 * snapshot. Therefore any modification you make to the returned list will
	 * be present inside the JAXB object. This is why there is not a
	 * <CODE>set</CODE> method for the mcaMapParams property.
	 * 
	 * <p>
	 * For example, to add a new item, do as follows:
	 * 
	 * <pre>
	 * getMcaMapParams().add(newItem);
	 * </pre>
	 * 
	 * 
	 * <p>
	 * Objects of the following type(s) are allowed in the list {@link Object }
	 * 
	 * 
	 */
	public List<Object> getMcaMapParams()
	{
		if (mcaMapParams == null)
		{
			mcaMapParams = new ArrayList<Object>();
		}
		return this.mcaMapParams;
	}
	
	/**
	 * Gets the value of the mcaSmsCommand property.
	 * 
	 * @return possible object is {@link McaSmsCommand }
	 * 
	 */
	public McaSmsCommand getMcaSmsCommand()
	{
		return mcaSmsCommand;
	}
	
	/**
	 * Sets the value of the mcaSmsCommand property.
	 * 
	 * @param value
	 *            allowed object is {@link McaSmsCommand }
	 * 
	 */
	public void setMcaSmsCommand(McaSmsCommand value)
	{
		this.mcaSmsCommand = value;
	}
	
	/**
	 * Gets the value of the name property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getName()
	{
		return name;
	}
	
	/**
	 * Sets the value of the name property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setName(String value)
	{
		this.name = value.trim();
	}
	
	/**
	 * Gets the value of the paramId property.
	 * 
	 */
	public long getParamId()
	{
		return paramId;
	}
	
	/**
	 * Sets the value of the paramId property.
	 * 
	 */
	public void setParamId(long value)
	{
		this.paramId = value;
	}
	
	/**
	 * Gets the value of the status property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getStatus()
	{
		return status;
	}
	
	/**
	 * Sets the value of the status property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setStatus(String value)
	{
		this.status = value;
	}
	
	/**
	 * Gets the value of the type property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getType()
	{
		return type;
	}
	
	/**
	 * Sets the value of the type property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setType(String value)
	{
		this.type = value;
	}
	
	@Override
	public String toString()
	{
		return this.name;
	}
}
